package com.senlingspace.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.senlingspace.common.annotation.Excel;
import com.senlingspace.common.core.domain.BaseEntity;

/**
 * 商品类别对象 slkj_product_type
 * 
 * @author wangliang
 * @date 2024-07-30
 */
public class SlkjProductType extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 商品类别ID */
    private Long typeId;

    /** 商品类别名称 */
    @Excel(name = "商品类别名称")
    private String typeName;

    /** 类别说明 */
    @Excel(name = "类别说明")
    private String illustrate;

    /** 显示顺序（值越小显示越靠前） */
    @Excel(name = "显示顺序", readConverterExp = "值=越小显示越靠前")
    private Long displayNum;

    /** 类目编号 */
    @Excel(name = "类目编号")
    private String typeNo;

    /** 是否开启（0开启，1关闭） */
    @Excel(name = "是否开启", readConverterExp = "0=开启，1关闭")
    private String statu;

    /** 删除表示（0代表存在 1代表删除） */
    private String delFlag;

    public void setTypeId(Long typeId) 
    {
        this.typeId = typeId;
    }

    public Long getTypeId() 
    {
        return typeId;
    }
    public void setTypeName(String typeName) 
    {
        this.typeName = typeName;
    }

    public String getTypeName() 
    {
        return typeName;
    }
    public void setIllustrate(String illustrate) 
    {
        this.illustrate = illustrate;
    }

    public String getIllustrate() 
    {
        return illustrate;
    }
    public void setDisplayNum(Long displayNum) 
    {
        this.displayNum = displayNum;
    }

    public Long getDisplayNum() 
    {
        return displayNum;
    }
    public void setTypeNo(String typeNo) 
    {
        this.typeNo = typeNo;
    }

    public String getTypeNo() 
    {
        return typeNo;
    }
    public void setStatu(String statu) 
    {
        this.statu = statu;
    }

    public String getStatu() 
    {
        return statu;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("typeId", getTypeId())
            .append("typeName", getTypeName())
            .append("illustrate", getIllustrate())
            .append("displayNum", getDisplayNum())
            .append("typeNo", getTypeNo())
            .append("statu", getStatu())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
